var count = 0;

module.exports = function (socket, scServer) {
    // Some sample logic to show how to handle client events,
    // replace this with your own logic
    socket.on('test1', function (data) {
        count++;
        console.log('Handled sampleClientEvent', data);
        scServer.exchange.publish('sample', {count: count});
    });
};